package com.rou.im.framework.core.cmd;

import com.google.protobuf.Descriptors;
import com.rou.im.framework.core.RequestVO;

/**
 * <p>
 *     命令元数据
 * </p>
 *
 * @author GaoShuangWen
 * @since 2020-05-25 16:11
 */
public class CmdMeta {

    private Integer cmdId;

    private String serviceId;

    private String serviceMethod;

    private Class<? extends RequestVO> serializerClz;

    private Descriptors.Descriptor descriptor;

    public Integer getCmdId() {
        return cmdId;
    }

    public void setCmdId(Integer cmdId) {
        this.cmdId = cmdId;
    }

    public String getServiceId() {
        return serviceId;
    }

    public void setServiceId(String serviceId) {
        this.serviceId = serviceId;
    }

    public String getServiceMethod() {
        return serviceMethod;
    }

    public void setServiceMethod(String serviceMethod) {
        this.serviceMethod = serviceMethod;
    }


    public Class<? extends RequestVO> getSerializerClz() {
        return serializerClz;
    }

    public void setSerializerClz(Class<? extends RequestVO> serializerClz) {
        this.serializerClz = serializerClz;
    }

    public Descriptors.Descriptor getDescriptor() {
        return descriptor;
    }

    public void setDescriptor(Descriptors.Descriptor descriptor) {
        this.descriptor = descriptor;
    }
}
